#pragma once
#include "IFigure.h"


namespace Chess
{
  class Field
  {
  public:
    Field(void);
    virtual ~Field(void);
    
    void SetFigure(IFigure* figure);
    void RemoveFigure(void);

    bool Occupied(void);

    void SetStatus(FieldStatusEnum status);
    FieldStatusEnum GetStatus();

    IFigure* GetFigure();

  private:
    IFigure* m_figure;
    FieldStatusEnum m_status;
  };

}